//
//  SearchPositionCell.m
//  MyProject
//
//  Created by 石小强 on 2018/4/26.
//  Copyright © 2018年 yanjiaming. All rights reserved.
//

#import "SearchPositionCell.h"

@implementation SearchPositionCell

- (void)setModel:(PositionModel *)model {
    _model = model;
    
    self.nameL.text = model.positionName;
    self.categoryL.text = [NSString stringWithFormat:@"%@/%@/%@", model.companyAbbreviatedName, model.companyIndustry, model.financingScale];
    self.addressL.text = model.workingPlace;
    self.yearsL.text = model.requiredExperienceName;
    self.educationL.text = model.requiredEducationalName;
    self.timeL.text = model.positionReleaseTime;
    self.salaryL.text = [NSString stringWithFormat:@"%@k-%@k", model.minSalary, model.maxSalary];
}

@end
